﻿//*********************************************************************
//
//  文件名：PaymentDetailViewModel
//
//  作者： LW
//
//  作用：
//
//  日期：2015/9/24 10:57:24
//
//*********************************************************************
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using YouTravel.Framework.Enums;

namespace YouTravel.ViewModels
{
    /// <summary>
    /// PaymentDetailViewModel
    /// 付款详情视图模型
    /// </summary>
    public class PaymentDetailViewModel
    {
        /// <summary>
        /// 付款申请ID
        /// </summary>
        public int ID { get; set; }
        /// <summary>
        /// 申请人姓名
        /// </summary>
        public string ApplicantName { get; set; }
        /// <summary>
        /// 申请时间
        /// </summary>
        public DateTime ApplicationTime { get; set; }
        /// <summary>
        /// 专线名称
        /// </summary>
        public string SpecialName { get; set; }
        /// <summary>
        /// 供应商名称
        /// </summary>
        public string SupplierName { get; set; }
        /// <summary>
        /// 收款人名称
        /// </summary>
        public string Payee { get; set; }
        /// <summary>
        /// 收款人银行名称
        /// </summary>
        public string CollectionBank { get; set; }
        /// <summary>
        /// 收款人银行账号
        /// </summary>
        public string BankNumber { get; set; }
        /// <summary>
        /// 付款金额
        /// </summary>
        public decimal Money { get; set; }
        /// <summary>
        /// 付款手续费
        /// </summary>
        public decimal CounterFee { get; set; }
        /// 付款状态
        /// 1-待确认 2-已付款，3-废弃
        /// </summary>
        public PaymentStatus Status { get; set; }
        /// <summary>
        /// 付款人姓名
        /// </summary>
        public string AuditName { get; set; }
        /// <summary>
        /// 付款时间
        /// </summary>
        public DateTime? AuditTime { get; set; }
        /// <summary>
        /// 银行流水号
        /// </summary>
        public string SerialNumber { get; set; }
        /// <summary>
        /// 付款备注
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        /// 付款类型
        /// </summary>
        public PaymentType Type { get; set; }

        #region 以下是委托付款信息
        /// <summary>
        /// 委托收款人名称
        /// </summary>
        public string Entrust_Payee { get; set; }
        /// <summary>
        /// 委托收款人银行名称
        /// </summary>
        public string Entrust_CollectionBank { get; set; }
        /// <summary>
        /// 委托收款人银行账号
        /// </summary>
        public string Entrust_BankNumber { get; set; }
        /// <summary>
        /// 附件列表
        /// string1:附件名称
        /// string2:附件地址
        /// </summary>
        public List<MyClass> Entrust_Attachment { get; set; }
        #endregion
    }
}
